/**
 * 
 */
package org.gbif.metrics.ws.resources;

import java.util.List;

import com.google.common.collect.Lists;


/**
 * A utility to encapsulate a count a the dimensions used to locate it.
 */
public class AddressableCount {

  private List<String> address = Lists.newArrayList();
  private long count = 0;

  public void append(String address) {
    this.address.add(address);
  }

  public List<String> getAddress() {
    return address;
  }

  public long getCount() {
    return count;
  }

  public void setAddress(List<String> address) {
    this.address = address;
  }

  public void setCount(long count) {
    this.count = count;
  }
}
